package com.delivery.www.po;

import com.delivery.www.util.AnnotationUtils;

/**
 * 记录在购物车中的菜品
 * @author 12970
 */
@AnnotationUtils.Table("cart_dish")
public class CartDish {
    @AnnotationUtils.Field(columnName = "cart_dish_id")
    private Integer cartDishId;
    @AnnotationUtils.Field(columnName = "cart_id")
    private Integer cartId;
    @AnnotationUtils.Field(columnName = "dish_id")
    private Integer dishId;

    public CartDish() {
    }

    public CartDish(Integer cartDishId, Integer cartId, Integer dishId) {
        this.cartDishId = cartDishId;
        this.cartId = cartId;
        this.dishId = dishId;
    }

    public Integer getCartDishId() {
        return cartDishId;
    }

    public void setCartDishId(Integer cartDishId) {
        this.cartDishId = cartDishId;
    }

    public Integer getCartId() {
        return cartId;
    }

    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    public Integer getDishId() {
        return dishId;
    }

    public void setDishId(Integer dishId) {
        this.dishId = dishId;
    }
}
